package com.firefly.dao.dao.mc.po;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;

/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2022-12-26 10:21:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(value = {"handler"})
@TableName("mc_user")
public class UserPo implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer levelId;
    private String phone;
    private String openid;
    private String crypt;
    private String password;
    private String nickname;
    private String thumb;
    private Integer sex;
    private LocalDateTime birthday;
    private Integer editTimes;
    private BigDecimal money;
    private Integer level1;
    private Integer level2;
    private String sharecode;
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}

